//
//  LLRPScrollViewSegment.h
//  LoveLife
//
//  Created by xl on 2020/9/1.
//  Copyright © 2020 xl. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol LLRPScrollViewSegmentDelegate <NSObject>
@optional
/**
 *    选择了某个选项的回调
 */
- (void)selectedSegmentIndex:(NSInteger )index;

@end

@interface LLRPScrollViewSegment : UIView
@property (nonatomic, weak) id<LLRPScrollViewSegmentDelegate> delegate;
/**
 *  选择某一个标签
 */
- (void)selectingOneTagWithIndex:(NSInteger )index;


- (void)loadTitlesArr:(NSArray *)titlesArr;

@end


